package cn.yunbamboos.rest.service.apidoc.meta;

import cn.yunbamboos.rest.service.apidoc.IMeta;
import com.alibaba.fastjson2.JSONObject;

public interface Schema extends IMeta {

    void addProperty(String name, Schema schema);

    void setTitle(String title);

    void addRequired(String required);

    void setItems(Schema items);

    void setExample(String example);

    void toExample(JSONObject example);

}
